home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1997 May / PC Plus Super CD Issue 127 (May 1997).iso / delphi1 / lesson4 / todolist / todo1.dfm / todo1.txt
Encoding:
Text File  |  1996-02-24  |  4.4 KB  |  222 lines

  1. object ToDoForm: TToDoForm
  2.   Left = 279
  3.   Top = 122
  4.   ActiveControl = InputLine
  5.   BorderIcons = [biSystemMenu, biMinimize]
  6.   BorderStyle = bsSingle
  7.   Caption = 'ToDo List'
  8.   ClientHeight = 454
  9.   ClientWidth = 514
  10.   Font.Color = clWindowText
  11.   Font.Height = -13
  12.   Font.Name = 'System'
  13.   Font.Style = []
  14.   Menu = MainMenu1
  15.   PixelsPerInch = 96
  16.   Position = poScreenCenter
  17.   OnCreate = FormCreate
  18.   TextHeight = 16
  19.   object Panel1: TPanel
  20.     Left = 0
  21.     Top = 0
  22.     Width = 457
  23.     Height = 433
  24.     BevelOuter = bvNone
  25.     TabOrder = 9
  26.     object DueByLabel: TLabel
  27.       Left = 320
  28.       Top = 88
  29.       Width = 60
  30.       Height = 16
  31.       Caption = 'Due By...'
  32.     end
  33.     object ExitBtn: TButton
  34.       Left = 320
  35.       Top = 384
  36.       Width = 113
  37.       Height = 33
  38.       Caption = '&Exit'
  39.       TabOrder = 0
  40.       OnClick = ExitBtnClick
  41.     end
  42.     object Panel2: TPanel
  43.       Left = 24
  44.       Top = 48
  45.       Width = 281
  46.       Height = 369
  47.       Caption = 'Panel2'
  48.       Color = clWhite
  49.       TabOrder = 1
  50.     end
  51.   end
  52.   object ToDoList: TListBox
  53.     Left = 24
  54.     Top = 48
  55.     Width = 281
  56.     Height = 369
  57.     ItemHeight = 16
  58.     PopupMenu = PopupMenu1
  59.     TabOrder = 0
  60.     OnClick = ToDoListClick
  61.     OnDblClick = ToDoListDblClick
  62.   end
  63.   object InputLine: TEdit
  64.     Left = 24
  65.     Top = 16
  66.     Width = 281
  67.     Height = 25
  68.     TabOrder = 1
  69.   end
  70.   object AddBtn: TButton
  71.     Left = 320
  72.     Top = 144
  73.     Width = 113
  74.     Height = 33
  75.     Caption = '&Add Item'
  76.     TabOrder = 2
  77.     OnClick = AddBtnClick
  78.   end
  79.   object RadioGroupPriority: TRadioGroup
  80.     Left = 320
  81.     Top = 8
  82.     Width = 113
  83.     Height = 73
  84.     Caption = 'Priority'
  85.     ItemIndex = 0
  86.     Items.Strings = (
  87.       '1'
  88.       '2'
  89.       '3')
  90.     TabOrder = 3
  91.     OnClick = RadioGroupPriorityClick
  92.   end
  93.   object DateDueEditBox: TEdit
  94.     Left = 320
  95.     Top = 112
  96.     Width = 97
  97.     Height = 25
  98.     TabOrder = 4
  99.   end
  100.   object RadioGroupSetSort: TRadioGroup
  101.     Left = 320
  102.     Top = 264
  103.     Width = 113
  104.     Height = 113
  105.     Caption = 'Sort By...'
  106.     ItemIndex = 0
  107.     Items.Strings = (
  108.       'Unsorted'
  109.       'Name'
  110.       'Priority'
  111.       'Date')
  112.     TabOrder = 5
  113.     OnClick = RadioGroupSetSortClick
  114.   end
  115.   object DelBtn: TButton
  116.     Left = 320
  117.     Top = 184
  118.     Width = 113
  119.     Height = 33
  120.     Caption = '&Delete Item'
  121.     TabOrder = 6
  122.     OnClick = DelBtnClick
  123.   end
  124.   object ReplaceBtn: TButton
  125.     Left = 320
  126.     Top = 224
  127.     Width = 113
  128.     Height = 33
  129.     Caption = '&Replace Item'
  130.     TabOrder = 7
  131.     OnClick = ReplaceBtnClick
  132.   end
  133.   object CalendarBtn: TButton
  134.     Left = 416
  135.     Top = 112
  136.     Width = 17
  137.     Height = 25
  138.     Hint = 'Click to select a due-by date'
  139.     Caption = '...'
  140.     ParentShowHint = False
  141.     ShowHint = True
  142.     TabOrder = 8
  143.     OnClick = CalendarBtnClick
  144.   end
  145.   object MainMenu1: TMainMenu
  146.     Left = 400
  147.     Top = 24
  148.     object FileMenu: TMenuItem
  149.       Caption = '&File'
  150.       object NewMnu: TMenuItem
  151.         Caption = '&New'
  152.         OnClick = NewMnuClick
  153.       end
  154.       object SaveMnu: TMenuItem
  155.         Caption = '&Save'
  156.         OnClick = SaveMnuClick
  157.       end
  158.       object SaveAsMnu: TMenuItem
  159.         Caption = 'Save &As'
  160.         OnClick = SaveAsMnuClick
  161.       end
  162.       object LoadMnu: TMenuItem
  163.         Caption = '&Load'
  164.         OnClick = LoadMnuClick
  165.       end
  166.       object ExitMnu: TMenuItem
  167.         Caption = 'E&xit'
  168.         OnClick = ExitMnuClick
  169.       end
  170.     end
  171.   end
  172.   object OpenDialog1: TOpenDialog
  173.     DefaultExt = 'tdo'
  174.     FileName = '*.tdo'
  175.     Filter = 'ToDo lists|*.tdo|All files|*.*'
  176.     Left = 432
  177.     Top = 24
  178.   end
  179.   object SaveDialog1: TSaveDialog
  180.     DefaultExt = 'tdo'
  181.     FileName = '*.tdo'
  182.     Filter = 'ToDo lists|*.tdo|All Files|*.*'
  183.     Left = 464
  184.     Top = 24
  185.   end
  186.   object PopupMenu1: TPopupMenu
  187.     Left = 368
  188.     Top = 24
  189.     object Add1: TMenuItem
  190.       Caption = '&Add'
  191.       OnClick = Add1Click
  192.     end
  193.     object Delete1: TMenuItem
  194.       Caption = '&Delete'
  195.       OnClick = Delete1Click
  196.     end
  197.     object Replace1: TMenuItem
  198.       Caption = '&Replace'
  199.       OnClick = Replace1Click
  200.     end
  201.     object SortBy1: TMenuItem
  202.       Caption = '&SortBy'
  203.       object Name1: TMenuItem
  204.         Caption = '&Name'
  205.         OnClick = Name1Click
  206.       end
  207.       object Priority1: TMenuItem
  208.         Caption = '&Priority'
  209.         OnClick = Priority1Click
  210.       end
  211.       object Date1: TMenuItem
  212.         Caption = '&Date'
  213.         OnClick = Date1Click
  214.       end
  215.       object Unsorted1: TMenuItem
  216.         Caption = '&Unsorted'
  217.         OnClick = Unsorted1Click
  218.       end
  219.     end
  220.   end
  221. end
  222.